package com.aaa.service;

import com.aaa.entity.Dept;
import com.aaa.entity.Emp;
import com.aaa.vo.EmpSearchForm;
import com.aaa.vo.LoginVo;
import com.aaa.vo.Result;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author C-Q
 * @version 1.1.0
 * @Description: TODO
 * @date 2022/9/28
 */
public interface EmpDaoService {
    int deleteByPrimaryKey(Integer id);

    int insert(Emp record);

    int insertSelective(Emp record);

    Emp selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Emp record);

    int updateByPrimaryKey(Emp record);

    PageInfo<Emp> findAll(int currentPage, int pageSize, EmpSearchForm empSearchForm);
    Result findByNameAge(LoginVo loginVo);

}
